package com.zxt.convert;

import com.zxt.model.SysRole;
import com.zxt.vo.SysRoleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author zxt
 */
@Mapper
public interface SysRoleConvert {

    SysRoleConvert INSTANCE = Mappers.getMapper(SysRoleConvert.class);

    List<SysRoleVO> convertList(List<SysRole> sysRoleList);
}
